-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(core): replace unmaintained shelljs dependency by execa #10358
base: main
Are you sure you want to change the base?
Conversation
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@argos-ci/[email protected], npm/@netlify/[email protected], npm/@playwright/[email protected] |
@@ -583,24 +583,28 @@ | |||
const cdpath = path.relative('.', dest); | |||
const pkgManager = await getPackageManager(dest, cliOptions); | |||
if (!cliOptions.skipInstall) { | |||
shell.cd(dest); | |||
await execa.command(`cd ${dest}`); |
Check warning
Code scanning / CodeQL
Shell command built from environment values Medium
absolute path
@@ -583,24 +583,28 @@ | |||
const cdpath = path.relative('.', dest); | |||
const pkgManager = await getPackageManager(dest, cliOptions); | |||
if (!cliOptions.skipInstall) { | |||
shell.cd(dest); | |||
await execa.command(`cd ${dest}`); |
Check warning
Code scanning / CodeQL
Unsafe shell command constructed from library input Medium
library input
shell command
This string concatenation which depends on
library input
shell command
⚡️ Lighthouse report for the deploy preview of this PR
|
Size Change: -1.05 kB (-0.01%) Total Size: 11.5 MB ℹ️ View Unchanged
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
✅ [V2]
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ [V2]
To edit notification comments on pull requests, go to your Netlify site configuration. |
Motivation
Replace unmaintained shelljs dependency
Fix #10348 ?
Test Plan
Unit tests + preview
Test links
https://deploy-preview-10358--docusaurus-2.netlify.app/